{% extends "base.html" %}

{% block title %}
<title>用户-修改密码</title>
{% endblock %}


{% block css %}
<style>
    .container {
        margin-top: 100px;
        background-image: url("/static/img/mainbg.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
}
</style>
{% endblock %}


{% block body %}
<div class="form-updatepwd">
    <h1>！！不要泄露密码给任何人！！</h1>
<form action="" method="post">
    {% csrf_token %}
    <div class="form-group">
        {{ upf.password1.label_tag }}<span class="text-danger">*</span>
        {{ upf.password1 }}
        {{ upf.password2.label_tag }}<span class="text-danger">*</span>
        {{ upf.password2 }}
        {{ upf.password3.label_tag }}<span class="text-danger">*</span>
        {{ upf.password3 }}
    </div>
    <div class="form-group">
        {% if errors %}
        <p class="alert alert-danger">{{ errors }}</p>
        {% endif %}
    </div>
    <button type="submit" class="btn btn-default">确认修改</button>
</form>
</div>
{% endblock %}
